<template>
  <div>
    <el-menu default-active="/manage/system/shop/worker" class="el-menu-demo" mode="horizontal" @select="handleSelect" :router='true'>
      <el-menu-item index="/manage/system/shop/worker">员工信息</el-menu-item>

      <el-menu-item index="/manage/system/shop/store">门店信息</el-menu-item>
      <el-menu-item index="/manage/system/shop/loginlog">员工登录日志</el-menu-item>

    </el-menu>
    <router-view></router-view>
  </div>
</template>


<script>
export default {
  data() {
    return {

    }
  },
  methods: {
    handleSelect(key, keyPath) {

      console.log(key);

    }

  }
}
</script>